#include<iostream>
using namespace std;
int main()
{
    cout << "char类型字节大小：" << sizeof(char) << endl;
    cout << "short类型字节大小：" << sizeof(short) << endl;
    cout << "int类型字节大小：" << sizeof(int) << endl;
    cout << "long类型字节大小：" << sizeof(long) << endl;
    cout << "double类型字节大小：" << sizeof(double) << endl;
    cout << "float类型字节大小：" << sizeof(float) << endl;
    cout << "bool类型字节大小：" << sizeof(bool) << endl;
    return 0;
}